package com.lzy.concertticket.threadlocal;

import com.lzy.concertticket.model.entity.FlowEntity;

public class FlowEntityThreadLocal {
    private static final ThreadLocal<FlowEntity> t = new ThreadLocal<>();

    public static void set(FlowEntity flowEntity) {
        t.set(flowEntity);
    }

    public static FlowEntity get() {
        return t.get();
    }

    public static void remove() {
        t.remove();
    }
}
